package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Order;

import java.util.Date;

public interface OrderService {
    //用户下订单
    void save(Order order);
    //订单明细查询
    Page<Order> findByPage2(Long number, Date beginTime, Date endTime, Integer pageNum, Integer pageSize);
//H5历史订单查询
    Page<Order> findByPage(Integer pageNum, Integer pageSize);
}
